package com.ky.study.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公开课视频表
 * </p>
 *
 * @author zpa
 * @since 2024-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("open_course_video")
public class OpenCourseVideo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 公开课视频id
     */
    @TableId(value = "open_course_video_id", type = IdType.AUTO)
    private Integer openCourseVideoId;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 视频标题
     */
    private String title;

    /**
     * 视频 URL
     */
    private String videoUrl;

    /**
     * 视频时长
     */
    private String duration;

    /**
     * 播放次数
     */
    private Integer playTimes;


}
